<?php /* Smarty version Smarty-3.1.13, created on 2013-05-17 13:23:24
         compiled from "static\skin\pages\profile.tpl" */ ?>
<?php /*%%SmartyHeaderCode:34015196132c1eef92-22937729%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c131b3d9be4803435e252f87aca272f660a138e3' => 
    array (
      0 => 'static\\skin\\pages\\profile.tpl',
      1 => 1365014909,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '34015196132c1eef92-22937729',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'user_profile' => 0,
    'action' => 0,
    'TEMPLATES_URL' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5196132c2b26e4_77266965',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5196132c2b26e4_77266965')) {function content_5196132c2b26e4_77266965($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['user_profile']->value->banned==1){?>
    <span id="profile">

            <div id="content_left" style="width:100%;">

                <!-- primary content start -->

                <div class="post">
                    <div class="post_header">
                        <h3>Utente bannato</h3>
                        <!--<div class="post_date">26 gennaio 2013, Bolgia (Italy)</div>-->
                    </div>

                    <!--
                    <div class="post_footer">
                        <ul>
                            <li class="like"><a href="#">Like (120)</a></li>
                            <li class="comments"><a href="#">Comments (18)</a></li>
                        </ul>


                    </div>
                    -->
                </div>

            </div>
    </span>
        <?php }else{ ?>
            <span id="profile">
        <?php if (!isset($_smarty_tpl->tpl_vars['action']->value)||$_smarty_tpl->tpl_vars['action']->value=="summary"){?>
            <div id="content_left">
        <?php }else{ ?>
            <div id="content_left" style="width:100%;">
        <?php }?>

            <!-- primary content start -->

            <div class="post">
                <div class="post_header">
                    <h3>Profilo di <?php echo $_smarty_tpl->tpl_vars['user_profile']->value->getUsername();?>
</h3>
                    <!--<div class="post_date">26 gennaio 2013, Bolgia (Italy)</div>-->
                </div>
                <div class="post_content">

                    <?php if (isset($_smarty_tpl->tpl_vars['action']->value)){?>
                        <?php if ($_smarty_tpl->tpl_vars['action']->value=="summary"){?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_summary.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }elseif($_smarty_tpl->tpl_vars['action']->value=="edit"){?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_edit.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }elseif($_smarty_tpl->tpl_vars['action']->value=="mail"){?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_pm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }elseif($_smarty_tpl->tpl_vars['action']->value=="pm"){?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_pm_new.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }elseif($_smarty_tpl->tpl_vars['action']->value=="thread"){?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_thread.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }else{ ?>
                            <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_summary.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                        <?php }?>
                    <?php }else{ ?>
                        <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['TEMPLATES_URL']->value)."profile_summary.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>

                    <?php }?>


                </div>	
                <!--
                <div class="post_footer">
                    <ul>
                        <li class="like"><a href="#">Like (120)</a></li>
                        <li class="comments"><a href="#">Comments (18)</a></li>
                    </ul>


                </div>
                -->
            </div>

        </div>
    </span>
    <?php if (!isset($_smarty_tpl->tpl_vars['action']->value)||$_smarty_tpl->tpl_vars['action']->value=="summary"){?>
    <div id="content_right">

        <h3>Presenza</h3>
        <div class="box_content">
            <ul id="profile_stats">
                <li>
                    <b>Ultimo accesso: </b> <?php echo Util::getDate($_smarty_tpl->tpl_vars['user_profile']->value->last_login->getDateTime());?>
 alle <?php echo Util::getTime($_smarty_tpl->tpl_vars['user_profile']->value->last_login->getDateTime());?>
 @ <?php echo $_smarty_tpl->tpl_vars['user_profile']->value->last_login->ip_address;?>

                </li>
                <li>
                    <b>Iscritto il: </b> <?php echo Util::getDate($_smarty_tpl->tpl_vars['user_profile']->value->registration_date);?>

                </li>
                <li>
                    <b>Messaggi totali: </b> <?php echo $_smarty_tpl->tpl_vars['user_profile']->value->getNrPosts();?>

                </li>
                <li>
                    <b>Account: </b> <?php echo $_smarty_tpl->tpl_vars['user_profile']->value->getUserType();?>

                </li>
            </ul>
        </div>

    </div>
    <?php }?>
<?php }?>
<?php }} ?>